package com.itheima.sleuth.service;

import com.itheima.sleuth.client.OrderClientFeign;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class OrderService {
    
    @Resource
    OrderClientFeign orderClientFeign;
    
    public String order(String name) {
        return orderClientFeign.product(name);
    }
}
